cmake_minimum_required(VERSION 3.10.2)
project(eigen3)

#set(OpenCV_DIR /home/mod/code/opencv/opencv-4.5.2/build/install/lib/cmake/opencv4)
find_package(OpenCV REQUIRED)
find_package(Eigen3 REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
message(STATUS ${OpenCV_INCLUDE_DIRS})
add_executable(main main.cpp)

target_link_libraries(main ${OpenCV_LIBS})

